-
Home
-
ElasticPress Debugging Add-On
-
3.1.0
-
Code
-
Classes
- QueryLog
Total Complexity |
79 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
618 |
Lines of code |
352 |
Logical lines of code |
168 |
Comment lines |
191 |
Methods |
24 |
Properties |
0 |
Methods 24
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
screen_options() |
A |
33 |
11 |
117 |
action_admin_init() |
S |
50 |
6 |
32 |
determine_request_query_type() |
S |
56 |
7 |
17 |
get_current_context() |
S |
61 |
6 |
13 |
log_query() |
S |
55 |
5 |
20 |
maybe_add_request_type() |
S |
59 |
5 |
15 |
should_log_by_status() |
S |
52 |
3 |
26 |
setup() |
S |
54 |
3 |
19 |
maybe_disable() |
S |
64 |
4 |
8 |
maybe_clear_log() |
S |
66 |
3 |
8 |
maybe_log_delete_index() |
S |
73 |
3 |
4 |
is_query_error() |
S |
68 |
3 |
7 |
admin_enqueue_scripts() |
S |
68 |
3 |
7 |
sanitize_enable_logging() |
S |
64 |
3 |
9 |
is_bulk_index_error() |
S |
68 |
2 |
7 |
factory() |
S |
68 |
2 |
8 |
json_decode_query_log() |
S |
78 |
2 |
3 |
should_log_by_context() |
S |
73 |
2 |
4 |
action_admin_menu() |
S |
65 |
1 |
10 |
json_encode_query_log() |
S |
80 |
1 |
3 |
maybe_add_request_context() |
S |
76 |
1 |
4 |
maybe_add_request_query_type() |
S |
73 |
1 |
4 |
is_enabled() |
S |
75 |
1 |
4 |
get_logging_storage_limit() |
S |
79 |
1 |
3 |